package com.xzer.xiaozhuoerinterface.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * (LoginInfo)实体类
 *
 * @author Xiaozhuoer
 * @since 2022-02-12 17:17:24
 */
public class LoginInfo implements Serializable {
    private static final long serialVersionUID = -30056084476169202L;
    /**
    * id
    */
    private Integer id;
    /**
    * 用户名
    */
    private String username;
    /**
    * 密码
    */
    private String password;

    private DriverTable driverTable;

    private List<BankCardTable> bankCardTableArrayList;
    private List<CarTable> carTableArrayList;
    private Idcardtable idcardtable;

    /**
     * 信用度
     */
    private String credit = "0";
    private int bankCredit = 0;

    public LoginInfo() {
    }

    public LoginInfo(Integer id, String username, String password, DriverTable driverTable, List<BankCardTable> bankCardTableArrayList, List<CarTable> carTableArrayList, Idcardtable idcardtable, String credit, int bankCredit) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.driverTable = driverTable;
        this.bankCardTableArrayList = bankCardTableArrayList;
        this.carTableArrayList = carTableArrayList;
        this.idcardtable = idcardtable;
        this.credit = credit;
        this.bankCredit = bankCredit;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public DriverTable getDriverTable() {
        return driverTable;
    }

    public void setDriverTable(DriverTable driverTable) {
        this.driverTable = driverTable;
    }

    public List<BankCardTable> getBankCardTableArrayList() {
        return bankCardTableArrayList;
    }

    public void setBankCardTableArrayList(List<BankCardTable> bankCardTableArrayList) {
        this.bankCardTableArrayList = bankCardTableArrayList;
    }

    public List<CarTable> getCarTableArrayList() {
        return carTableArrayList;
    }

    public void setCarTableArrayList(List<CarTable> carTableArrayList) {
        this.carTableArrayList = carTableArrayList;
    }

    public Idcardtable getIdcardtable() {
        return idcardtable;
    }

    public void setIdcardtable(Idcardtable idcardtable) {
        this.idcardtable = idcardtable;
    }

    public String getCredit() {
        return credit;
    }

    public void setCredit(String credit) {
        this.credit = credit;
    }

    public int getBankCredit() {
        return bankCredit;
    }

    public void setBankCredit(int bankCredit) {
        this.bankCredit = bankCredit;
    }
}